/**
 * 
 */
package com.feib.stms.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.feib.stms.model.BusinessDay;

import java.util.Date;

/**
 * @author Lion Gao
 *
 */
@Transactional(readOnly = true)
public interface BusinessDayService 
{
	/**
	 * 按照年和月查詢營業日
	 * @param year
	 * @param month
	 * @return
	 */
	public List<BusinessDay> getBusinessDayByDate(String year , String month);
	
	/** 營業日維護(新增修改)
	 * @param year
	 * @param month
	 * @param checkBusinessDay
	 * @return
	 */
	public int insertBusinessDay(String year , String month, List<BusinessDay> checkBusinessDay);
	
	public Date getNextBusinessDay(Date day);
}
